home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 005 / product.arc / PRODUCT.DOC < prev    next >
Encoding:
Text File  |  1986-01-15  |  11.0 KB  |  311 lines

  1.  
  2.  
  3.                       README.DOC
  4.  
  5.             The AutoCAD Productivity Diskette
  6.              Copyright 1986 by Ventana Press
  7.                   Piedmont, California
  8.                       Revision 1.2
  9.                         12/09/86
  10.  
  11.  
  12. Thank you for your purchase of The AutoCAD Productivity 
  13. Diskette, which will save you hours of typing macros and AutoLISP
  14. routines from The AutoCAD Productivity Book, by A. Ted Schaefer
  15. and James L. Brittain.  
  16.  
  17. IMPORTANT:  READ THIS ENTIRE DOCUMENT BEFORE USING THE AUTOCAD
  18. PRODUCTIVITY DISKETTE.  THEN READ ALL .DOC FILES.
  19.  
  20.  The code on this diskette was tested and merged into the book
  21. for macros, AutoLISP routines and RISC menus.  We also have
  22. included some bonus routines and an ACAD.LSP file that
  23. automatically loads every time you boot up AutoCAD, placing many
  24. new functions at your fingertips.
  25.  
  26.  
  27.  
  28.  
  29.  
  30. ***** License, Disclaimer and Limitation of Liability *****
  31.  
  32. This diskette is offered without support other than the 
  33. READ.ME file on the diskette (this file) and the information
  34. in The AutoCAD Productivity Book (see Chapters One through Seven
  35. and Appendix F).  
  36.  
  37. The publisher and authors assume no responsibility for the
  38. suitability of the programs contained in the diskette.  Programs
  39. on this diskette are intended only for your personal use and may
  40. not be duplicated or used for resale.
  41.  
  42. All copyright and disclaimers which apply to The AutoCAD
  43. Productivity Book also apply to The AutoCAD Productivity
  44. Diskette.
  45.  
  46.  
  47.  
  48.  
  49.  
  50. The following files are contained in the root directory:
  51.  
  52. MACRO03 LSP   MACRO25 LSP   MACR25B LSP   MACRO34 LSP  
  53. MACRO35 LSP   MACRO52 LSP   MACRO55 LSP   MACRO56 LSP
  54. MACRO57 LSP   MACRO61 LSP   MACRO62 LSP   MACRO63 LSP
  55. MACRO64 LSP   MACRO65 LSP   MACRO66 LSP   MACRO67 LSP
  56. MACRO68 LSP   MACRO69 LSP   MACRO70 LSP   *PLDIST LSP
  57. *ZOOOM  LSP   *READ   ME    *BOOK   MNU   MACRO01 MNU
  58. MACRO02 MNU   MACRO03 MNU   MACRO04 MNU   MACRO05 MNU
  59. MACRO06 MNU   MACRO07 MNU   MACRO08 MNU   MACRO09 MNU
  60. MACRO10 MNU   MACRO11 MNU   MACRO12 MNU   MACRO13 MNU
  61. MACRO14 MNU   MACRO15 MNU   MACRO16 MNU   MACRO17 MNU
  62. MACRO18 MNU   MACRO19 MNU   MACRO20 MNU   MACRO21 MNU
  63. MACRO22 MNU   MACRO23 MNU   MACRO24 MNU   MACRO26 MNU
  64. MACRO27 MNU   MACRO28 MNU   MACRO29 MNU   MACRO30 MNU
  65. MACRO31 MNU   MACRO32 MNU   MACRO33 MNU   MACRO34 MNU 
  66. MACRO35 MNU   MACRO36 MNU   MACRO37 MNU   MACRO38 MNU
  67. MACRO39 MNU   MACRO40 MNU   MACRO41 MNU   MACRO42 MNU
  68. MACRO43 MNU   MACRO44 MNU   MACRO45 MNU   MACRO46 MNU
  69. MACRO47 MNU   MACRO48 MNU   MACRO49 MNU   MACRO50 MNU
  70. MACRO51 MNU   MACRO52 MNU   MACRO53 MNU   MACRO54 MNU
  71. MACRO55 MNU   MACRO56 MNU   MACRO57 MNU   MACRO58 MNU
  72. MACRO59 MNU   MACRO60 MNU   RISC    MNU   *RISC25 MNU
  73. TABLET  MNU   *ACAD   PGP   STP&RPT SCR   CONFIG  SYS
  74.      89 files
  75.  
  76. The following files are contained in the \MISC directory:
  77.  
  78. *AHD      DWG   *CBALLOON       *CROSS   DWG   *PLIST   DWG  
  79. *PROTO    DWG   *RISC     DWG   *RISC25  DWG   TABMENU  DWG  
  80. *TSHTAV   DWG   *TSHTAH   DWG   *TSHTB   DWG   *TSHTC   DWG  
  81. *TSHTD    DWG   *TSHTE    DWG   *WELDDNL DWG   *WELDDNR DWG 
  82. *WELDUPL  DWG   *WELDUPR  DWG   *ACAD    LSP   *ACAD2   LSP  
  83. *BASELINE LSP
  84.      24 files
  85.  
  86. * indicates files not in book
  87.  
  88.  
  89.  
  90.  
  91.  
  92. ***************************WARNING******************************
  93.  *************************IMPORTANT****************************
  94. ***************************WARNING******************************
  95.  
  96. If you indiscriminately copy the contents of this diskette to
  97. your hard disk, (for example, using *.*), you may over-write
  98. files that would cause problems to both AutoCAD and other
  99. programs!  The four of main concern are AUTOEXEC.BAT, CONFIG.SYS,
  100. ACAD.PGP and ACAD.LSP.  
  101.  
  102. Before copying these files, check the root directory of your hard
  103. disk to see if AUTOEXEC.BAT and CONFIG.SYS are present, using the
  104. DIR command (see Chapter Two).  If they are not, copy the files
  105. from this diskette and restart your system.  If they are, refer
  106. to Chapter Two, and use the TYPE command to compare the contents
  107. of our files with your files.  Using EDLIN or your text editor,
  108. add the valuable lines from our files to your existing files.
  109.    
  110. Once in the directory containing the AutoCAD program files, look
  111. for your ACAD.PGP file and ACAD.LSP files.  If they exist, be
  112. careful not to copy ours over them before you conduct the
  113. comparison mentioned above.
  114.  
  115. IMPORTANT TIP:  When copying files, the best procedure is to
  116. follow Appendix F in the book. First, make a directory, then copy
  117. the files into that directory.  Operate in that directory for a
  118. time.  When you decide which files you want to use, copy them to
  119. the directory where your AutoCAD files reside.  Of course, when
  120. you gain experience with directories, you can create paths
  121. directly from AutoCAD.
  122.  
  123. For the above reasons and the fact that the root directory cannot
  124. hold all 113 files, we've placed these "semi-dangerous" files and
  125. the drawing files into a sub-directory called MISC on the floppy.
  126.  
  127. For further reference, see page 38 of The AutoCAD Productivity
  128. Book.
  129.  
  130.  
  131.  
  132.  
  133.  
  134. Several drawing files are included:
  135.  
  136. AHD      DWG - an arrowhead used in the RISC menus, Point       
  137.                sub-menu (see page 127)
  138. CBALLOON DWG - balloon symbol used in ACAD.LSP file (routine #16)
  139. BALL     DWG - balloon symbol used for Macro #54 (page 250).
  140. CROSS    DWG - a 1" cross used in the RISC menus, Point sub-menu 
  141.                (see page 127)
  142. PLIST    DWG - heading of Parts List (see page 272)
  143. TABMENU  DWG - tablet menu drawing in Chapter Six (see page 139).
  144. TSHT*    DWG - title sheet drawings use in SETUP contained in
  145.                ACAD.LSP
  146. WELD*    DWG - 4 weld arrow drawings used in the weld arrow LISP
  147.                routine in ACAD.LSP (not found in The AutoCAD     
  148.                Productivity Boook)
  149. PROTO    DWG - activates book menu
  150. RISC     DWG - activates RISC menu and contains blocks and layers
  151.                needed for menu operation.
  152. RISC25   DWG - activates RISC25 menu and contains blocks and     
  153.                layers needed for menu operation.
  154.  
  155.  
  156. Notes: 
  157.  
  158. 1). The ACAD.PGP file contains an important clue on how to
  159. have and "on-line" database mentioned in chapter Five, page 120.
  160.  
  161. 2). STP&RPT.SCR is a script file used in the RISC menu for 2.15
  162. and greater.  STP&RPT.SCR is not required with RISC25.MNU for
  163. Version 2.5 because the MEASURE and DIVIDE AutoCAD commands can
  164. provide a "step and repeat" function.
  165.  
  166. 3).  To use the three proto-type drawings, PROTO, RISC and
  167. RISC25, from the main AutoCAD menu, start a new drawing, (option
  168. 1).  Then type:
  169.         
  170.         DRAWNAME=RISC  (or RISC25 or PROTO)
  171.   
  172.         Ref: section 2.5.2 in the AutoCAD User Reference manual
  173.  
  174.  
  175.  
  176.  
  177.  
  178. In the book, we indicated that macro files had a .MCR extension.
  179. In hindsight, it's better to name them with .MNU extensions, so
  180. while in a drawing you can load and test them before placing them
  181. in your own menu.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. Note: If there are several variations of a macro, they will be
  189. "lumped" together under the same file name.  Also, you can use
  190. the path name in the menu command.  For example, if you were in
  191. the ACAD directory and the macros reside in a directory called
  192. PROBOOK, type \PROBOOK\MACROXX to activate a menu.
  193.  
  194.     Similarly, when loading AutoLISP routines from a drawing,
  195. from the AutoCAD command prompt, type (load "macroXX") (ENTER).
  196.  
  197.     Be sure to enclose the statement with parentheses and use
  198. quotes around the macro.  A path name can be used in the load
  199. statement, but two \'s must be used instead of one. For example:
  200. (load "c:\\probook\\macro56").
  201.  
  202.  
  203.  
  204.  
  205. For your convenience, we have placed all the *.mnu files into one
  206. on-screen menu system called BOOK.MNU.  When you use the
  207. PROTO.DWG to start a new drawing, this menu will be activated.
  208.  
  209.  
  210.  
  211.  
  212.  
  213. An AutoCAD quirk: MACRO35, which draws a fillet between two
  214. circles works normally as shown in the book when grouped in the
  215. BOOK.MNU. However when loaded by itself, it breaks into two
  216. sections.  We guess this is because of its length.  When the
  217. first section is finished calculating, just select the next line
  218. of code (visible on the screen) and it will work properly.  
  219.  
  220. To make this more apparent, we split the MACRO35.MNU file into
  221. two sections, one headed with the word "continue".  The code in
  222. the BOOK.MNU is exactly as that in The AutoCAD Productivity Book.
  223.  
  224.  
  225.  
  226.  
  227.  
  228.   ACAD.LSP and ACAD2.LSP are files that contain the bonus
  229. AutoLISP files and are also a typical compilation of AutoLISP
  230. functions from The AutoCAD Productivity Book.
  231.  
  232. Only ACAD.LSP will boot up automatically with each drawing, but
  233. may be time-consuming.  You may want to load less frequently used
  234. commands as separate files.  You can make a macro of this
  235. procedure and assign it to a tablet or screen menu (see Macro
  236. #27)
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. Below are the functions in ACAD.LSP:
  245.  
  246. ;    1.  Find  (find) 2.5
  247. ;    2.  Import  (import)
  248. *    3.  Export  (export) 2.5
  249. *    4.  Text Fit  (tfit) 2.5
  250. *    5.  Change Text Size Global (tszg) 2.5
  251. *    6.  Change Text Size Select (tsz) 2.5
  252. ;    7.  Fillet 2 circles  (filetcir)
  253. ;    8.  Increment Number Individual (number)
  254. *    9.  Change Text (ct) 2.5 by Autodesk
  255. ;   10.  Delete Layer (dl) 2.5 by Autodesk
  256. ;   11.  Delete All (da) 2.5
  257. *   12.  Drawing Setup (setup)
  258. ;   13.  Parts List (plist)
  259. *   14.  Weld arrow up (wldf)
  260. *   15.  Weld arrow down (wldn)
  261. ;   16.  Part identifier (balloonc)
  262. ;   17.  Ortho Rectangle (r)
  263. *   18.  Reset Drawing Scale (orsc)
  264. *   19.  Error:
  265. ;   20.  Breakout
  266.  
  267.  
  268. Below are the functions in ACAD2.LSP
  269.  
  270. ;   1.  Rectangle at Any Angle (raa)
  271. *   2.  Spiral (spiral) by Autodesk
  272. *   3.  Clean Atomlist/Garbage Collection (kln) by Bill Kramer
  273. *   4.  Erase Last (EL) - converts acad function to 2 letters
  274. *   5.  Erase Window (EW) - converts acad function to 2 letters
  275. *   6.  Zoom Window (ZW) - converts acad function to 2 letters
  276. *   7.  Zoom Previous (ZP) - converts acad function to 2 letters
  277. *   8.  Draw Line (L) - converts acad function to 1 letter
  278. ;   9.  Square at any angle (sq)
  279. *  10.  Convert Civil Units (conv) 12.500' ---> 12'-6"
  280. *  11.  Absolute Scale of blocks (ascale) 2.5
  281. ;  12.  Angled Sequential numbers (an)
  282. ;  13.  Draw a Slot (slot)
  283. *  14.  Change text style global (cs) 2.5
  284. ;  15.  Extend (exd)
  285. ;  16.  Step and Repeat (sr)
  286. ;  17.  Draw a Flange (flange)
  287. ;  18.  Parrallelogram  (paa)
  288. *  19.  Zooom (zooom) - scales the last block inserted for       
  289.           animation
  290. *  20.  Pdist (pdist) - calculates the length of any selected
  291.                         group of polylines  by Bill Kramer
  292.  
  293.  
  294. Macros with an asterisk * are not in the book.
  295.  
  296.  
  297.  
  298. Thank you for purchasing The AutoCAD Productivity
  299. Book and The AutoCAD Productivity Diskette.  We hope these
  300. references help you increase your productivity and enjoyment when
  301. using AutoCAD.
  302.  
  303. We've done all in our power to ensure that programs and routines
  304. featured throughout the book are correct. We are dedicated to
  305. AutoCAD productivity, and welcome your suggestions for
  306. improvement.  Please write: 
  307.  
  308. Ventana Press 
  309. P.O. Box 2468
  310. Chapel Hill  NC  27515
  311.